package com.bsfcs.rag.entity;

import jakarta.persistence.Column;
import jakarta.persistence.Entity;
import jakarta.persistence.Id;
import jakarta.persistence.Table;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
@Entity
@Table(name = "htglxtcollconfirm0")
public class ReturnColl {
    @Id
    @Column(name = "id")
    private String id;

    /**
     * 履行id
     */
    @Column(name = "parent_id")
    private String parent_id;

    /**
     * 单据号
     */
    @Column(name = "code")
    private String code;

    /**
     * 款项名称
     */
    @Column(name = "payment_of_name")
    private String payment_of_name;

    /**
     * 履约节点金额
     */
    @Column(name = "performance_amount")
    private BigDecimal performance_amount;

    /**
     * 履约节点日期
     */
    @Column(name = "performance_date")
    private Date performance_date;

    /**
     * 占合同额比例
     */
    @Column(name = "proportion_amount")
    private String proportion_amount;
    /**
     * 计划回款金额
     */
    @Column(name = "planned_amount")
    private BigDecimal planned_amount;
    /**
     * 计划到账时间
     */
    @Column(name = "planned_time")
    private Date planned_time;

    /**
     * 回款金额
     */
    @Column(name = "refund_money")
    private BigDecimal refund_money;

    /**
     * 到账时间
     */
    @Column(name = "payment_date")
    private Date payment_date;

    /**
     * 回款状态
     */
    @Column(name = "payment_status")
    private String payment_status;

    /**
     * 审批状态
     */
    @Column(name = "billstatus")
    private String billstatus;
}
